how to close jfrme on button click